//
//  FSWSelectBottomCell.m
//  voicetip_ios
//
//  Created by 伏圣文 on 2024/7/24.
//  Copyright © 2024 fusw. All rights reserved.
//

#import "FSWSelectBottomCell.h"

@implementation FSWSelectBottomCell

- (void)awakeFromNib {
    [super awakeFromNib];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

-(void)configUI:(FSWSelectModel *)model{
 
    if ([model.isSelect integerValue] == 1) {
        self.backView.backgroundColor = [UIColor colorNamed:@"FDF5EB"];
        self.imgView.hidden = NO;
    }else{
        self.backView.backgroundColor =  [UIColor colorNamed:@"fafafa"];
        self.imgView.hidden = YES;
    }
    self.titleLabel.text = model.name;
}

@end
